From 373b330171b811c340253bf08b3912c1765653de Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 23 Oct 2016 10:39:57 -0500 Subject: [PATCH] Don't dh_auto_clean, and run dh_clean first Since we don't build in the source tree, we shouldn't clean there either, and let dh_clean take care of its bits before we stomp around. --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index cca8fdce9cc..e7f2b9997ab 100755 --- a/debian/rules +++ b/debian/rules @@ -619,7 +619,11 @@ override_dh_testdir: override_dh_fixperms: dh_fixperms -X$(movemail_bin) +override_dh_auto_clean: $(persistent_autogen_files) + true + override_dh_clean: $(persistent_autogen_files) + dh_clean rm -rf \ aclocal.m4 \ build-aux/ar-lib \ @@ -649,4 +653,3 @@ override_dh_clean: $(persistent_autogen_files) src/config.in \ src/stamp-h1 src/stamp-h.in rm -f $(nonpersistent_autogen_files) - dh_clean -- 2.30.2